-
Notifications
You must be signed in to change notification settings - Fork 166
feat: Add EventBridge bus logging configuration #185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I started to review but after looking at it for awhile, why not add these resources into a new sub-module here named Let me know - if not in agreement with that approach, I can finish the review here |
Hey @bryantbiggs As far as I know you can only specify one delivery per service and not n. So in this case you can specify a single CloudWatch Log Group and/or a single S3 bucket and/or a single Firehose stream. I know it, cause I have implemented in my daily job. I have considered it in here cause there's a bit of couplement, I mean, you need to configure the EventBus to be able to log the logs for those destinations. Please do check here, the provided example :) Happy to discuss further if there's some things I have been missing so far :) |
@bryantbiggs In general, it would be a good idea to create a submodule Additionally, only one instance of each log destination type can be added to EventBridge. |
No no, not embedding this new sub-module here. Users would define their eventbridge module configuration and then their log-delivery module configuration. It just feels like a repeat of what has happened with flow logs where now we have to force users to make changes so that we can consolidate that logic in its own module that is then usable in conjunction with our various modules
|
@bryantbiggs Updated according to all of the suggestions, except for moving to a separate submodule (I don't have time for more work on this PR anymore). Please review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great!
## [4.2.0](v4.1.0...v4.2.0) (2025-10-04) ### Features * Add EventBridge bus logging configuration ([#185](#185)) ([e1f974b](e1f974b))
This PR is included in version 4.2.0 🎉 |
Description
Follow-up to #181 (I didn't have permissions to push to that branch) by @tiagovmvieira
Fixed and tested examples and merged multiple identical resources into one.
Resolves #181
Resolves #182